package sdk.webview.fmc.com.fmcsdk.db;

/**
 * 首页功能列表
 * @author Administrator
 *
 */
public class FUNCTION implements Table {
	public static final String TABLE_NAME = "function";
	/** 图片ID */
	public static final String IMAGE = "resid";
	/** 功能名称 */
	public static final String TITLE = "title";
	/** 是否在主页展示， 显示：1，不显示：0 */
	public static final String IFSHOW = "show";
	/**对应的权限key*/
	public static final String KEY="key";
	/**排序*/
	public static final String SORT="sort";
	/**头像链接*/
	public static final String ICON_URL = "icon_url";
	/**功能h5链接*/
	public static final String URL = "url";
	// 建表语句
	public static final String CREATE_SQL = "create table if not exists "
			+ TABLE_NAME + "(" + "_id INTEGER PRIMARY KEY autoincrement,"
			+ SYNC + " TEXT not null,"
			+ KEY +" TEXT,"
			+ SORT +" INTEGER,"
			+ ICON_URL + " TEXT,"
			+ URL + " TEXT,"
			+ TITLE + " TEXT,"
			+ IFSHOW + " INTEGER not null" + ")";
}
